package com.jay.lang.management.intf;

import java.lang.management.ManagementFactory;
import java.lang.management.OperatingSystemMXBean;

public class OperatingSystemMXBeanIntf {
	public static void main(String[] args) {
		OperatingSystemMXBean mxbean = ManagementFactory
				.getOperatingSystemMXBean();
		System.out.println(mxbean.getArch());
		System.out.println(mxbean.getAvailableProcessors());
		System.out.println(mxbean.getName());
		System.out.println(mxbean.getSystemLoadAverage());
		System.out.println(mxbean.toString());
		System.out.println(mxbean.getClass());
		System.out.println(mxbean.getObjectName());
		System.out.println(mxbean.getVersion());
	}
}
